package com.changgou.service.goods.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.changgou.goods.pojo.Category;
import com.changgou.service.goods.dao.CategoryMapper;
import com.changgou.service.goods.service.CategoryService;
import org.springframework.stereotype.Service;

/**
 * Package: com.changgou.service.goods.service.impl
 * ClassName: CategoryServiceImpl
 * Description:
 *
 * @Author : 福森森
 * @Create : 2024/8/28 20:22
 */
@Service
public class CategoryServiceImpl extends ServiceImpl<CategoryMapper, Category> implements CategoryService {
    @Override
    public Category findById(Integer category3Id) {
        return this.lambdaQuery().eq(Category::getId, category3Id).one();
    }
}
